package com.bdqn.vueboot.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 楼宇维修(Building)表实体类
 *
 * @author makejava
 * @since 2022-12-03 09:09:35
 */
@SuppressWarnings("serial")
@TableName(value ="building")
@Data
public class Building implements Serializable {
    //id
    @TableId(type = IdType.ASSIGN_ID)
    private Long buildingId;
    //故障地址
    private String buildingAddress;
    //故障描述
    private String buildingDistribution;
    //归属部门id
    private Long buildingDepartment;
    //联系人id
    private Long buildingContactsid;
    //联系人电话
    private String buildingPhone;
    //发起时间
    private LocalDateTime buildingStartdata;
    //处理状态Id
    private Long buildingStatic;
    //维修事项id
    private Long  buildingMattersId;
    //创建者
    @TableField(fill = FieldFill.INSERT)
    private Long creationId;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime creationTime;
    //修改者
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateId;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}

